Integrand size = 15, antiderivative size = 185 \[ \int \frac {(c+d x)^7}{(a+b x)^3} \, dx=\frac {35 d^3 (b c-a d)^4 x}{b^7}-\frac {(b c-a d)^7}{2 b^8 (a+b x)^2}-\frac {7 d (b c-a d)^6}{b^8 (a+b x)}+\frac {35 d^4 (b c-a d)^3 (a+b x)^2}{2 b^8}+\frac {7 d^5 (b c-a d)^2 (a+b x)^3}{b^8}+\frac {7 d^6 (b c-a d) (a+b x)^4}{4 b^8}+\frac {d^7 (a+b x)^5}{5 b^8}+\frac {21 d^2 (b c-a d)^5 \log (a+b x)}{b^8} \]
35*d^3*(-a*d+b*c)^4*x/b^7-1/2*(-a*d+b*c)^7/b^8/(b*x+a)^2-7*d*(-a*d+b*c)^6/ b^8/(b*x+a)+35/2*d^4*(-a*d+b*c)^3*(b*x+a)^2/b^8+7*d^5*(-a*d+b*c)^2*(b*x+a) ^3/b^8+7/4*d^6*(-a*d+b*c)*(b*x+a)^4/b^8+1/5*d^7*(b*x+a)^5/b^8+21*d^2*(-a*d +b*c)^5*ln(b*x+a)/b^8
Leaf count is larger than twice the leaf count of optimal. \(389\) vs. \(2(185)=370\).
Time = 0.08 (sec) , antiderivative size = 389, normalized size of antiderivative = 2.10 \[ \int \frac {(c+d x)^7}{(a+b x)^3} \, dx=\frac {-130 a^7 d^7+10 a^6 b d^6 (77 c+16 d x)+10 a^5 b^2 d^5 \left (-189 c^2-56 c d x+50 d^2 x^2\right )+70 a^4 b^3 d^4 \left (35 c^3+6 c^2 d x-34 c d^2 x^2+2 d^3 x^3\right )-35 a^3 b^4 d^3 \left (50 c^4-20 c^3 d x-126 c^2 d^2 x^2+20 c d^3 x^3+d^4 x^4\right )+7 a^2 b^5 d^2 \left (90 c^5-200 c^4 d x-550 c^3 d^2 x^2+200 c^2 d^3 x^3+25 c d^4 x^4+2 d^5 x^5\right )-7 a b^6 d \left (10 c^6-120 c^5 d x-200 c^4 d^2 x^2+200 c^3 d^3 x^3+50 c^2 d^4 x^4+10 c d^5 x^5+d^6 x^6\right )+b^7 \left (-10 c^7-140 c^6 d x+700 c^4 d^3 x^3+350 c^3 d^4 x^4+140 c^2 d^5 x^5+35 c d^6 x^6+4 d^7 x^7\right )-420 d^2 (-b c+a d)^5 (a+b x)^2 \log (a+b x)}{20 b^8 (a+b x)^2} \]
(-130*a^7*d^7 + 10*a^6*b*d^6*(77*c + 16*d*x) + 10*a^5*b^2*d^5*(-189*c^2 - 56*c*d*x + 50*d^2*x^2) + 70*a^4*b^3*d^4*(35*c^3 + 6*c^2*d*x - 34*c*d^2*x^2 + 2*d^3*x^3) - 35*a^3*b^4*d^3*(50*c^4 - 20*c^3*d*x - 126*c^2*d^2*x^2 + 20 *c*d^3*x^3 + d^4*x^4) + 7*a^2*b^5*d^2*(90*c^5 - 200*c^4*d*x - 550*c^3*d^2* x^2 + 200*c^2*d^3*x^3 + 25*c*d^4*x^4 + 2*d^5*x^5) - 7*a*b^6*d*(10*c^6 - 12 0*c^5*d*x - 200*c^4*d^2*x^2 + 200*c^3*d^3*x^3 + 50*c^2*d^4*x^4 + 10*c*d^5* x^5 + d^6*x^6) + b^7*(-10*c^7 - 140*c^6*d*x + 700*c^4*d^3*x^3 + 350*c^3*d^ 4*x^4 + 140*c^2*d^5*x^5 + 35*c*d^6*x^6 + 4*d^7*x^7) - 420*d^2*(-(b*c) + a* d)^5*(a + b*x)^2*Log[a + b*x])/(20*b^8*(a + b*x)^2)
Time = 0.41 (sec) , antiderivative size = 185, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {49, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {(c+d x)^7}{(a+b x)^3} \, dx\) |
\(\Big \downarrow \) 49 |
\(\displaystyle \int \left (\frac {7 d^6 (a+b x)^3 (b c-a d)}{b^7}+\frac {21 d^5 (a+b x)^2 (b c-a d)^2}{b^7}+\frac {35 d^4 (a+b x) (b c-a d)^3}{b^7}+\frac {35 d^3 (b c-a d)^4}{b^7}+\frac {21 d^2 (b c-a d)^5}{b^7 (a+b x)}+\frac {7 d (b c-a d)^6}{b^7 (a+b x)^2}+\frac {(b c-a d)^7}{b^7 (a+b x)^3}+\frac {d^7 (a+b x)^4}{b^7}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {7 d^6 (a+b x)^4 (b c-a d)}{4 b^8}+\frac {7 d^5 (a+b x)^3 (b c-a d)^2}{b^8}+\frac {35 d^4 (a+b x)^2 (b c-a d)^3}{2 b^8}+\frac {21 d^2 (b c-a d)^5 \log (a+b x)}{b^8}-\frac {7 d (b c-a d)^6}{b^8 (a+b x)}-\frac {(b c-a d)^7}{2 b^8 (a+b x)^2}+\frac {d^7 (a+b x)^5}{5 b^8}+\frac {35 d^3 x (b c-a d)^4}{b^7}\) |
(35*d^3*(b*c - a*d)^4*x)/b^7 - (b*c - a*d)^7/(2*b^8*(a + b*x)^2) - (7*d*(b *c - a*d)^6)/(b^8*(a + b*x)) + (35*d^4*(b*c - a*d)^3*(a + b*x)^2)/(2*b^8) + (7*d^5*(b*c - a*d)^2*(a + b*x)^3)/b^8 + (7*d^6*(b*c - a*d)*(a + b*x)^4)/ (4*b^8) + (d^7*(a + b*x)^5)/(5*b^8) + (21*d^2*(b*c - a*d)^5*Log[a + b*x])/ b^8
3.13.85.3.1 Defintions of rubi rules used
Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int [ExpandIntegrand[(a + b*x)^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d}, x] && IGtQ[m, 0] && IGtQ[m + n + 2, 0]
Leaf count of result is larger than twice the leaf count of optimal. \(444\) vs. \(2(177)=354\).
Time = 0.21 (sec) , antiderivative size = 445, normalized size of antiderivative = 2.41
method | result | size |
norman | \(\frac {-\frac {63 a^{7} d^{7}-315 a^{6} b c \,d^{6}+630 a^{5} b^{2} c^{2} d^{5}-630 a^{4} b^{3} c^{3} d^{4}+315 a^{3} b^{4} c^{4} d^{3}-63 a^{2} b^{5} c^{5} d^{2}+7 a \,b^{6} c^{6} d +b^{7} c^{7}}{2 b^{8}}+\frac {d^{7} x^{7}}{5 b}-\frac {\left (42 a^{6} d^{7}-210 a^{5} b c \,d^{6}+420 a^{4} b^{2} c^{2} d^{5}-420 a^{3} b^{3} c^{3} d^{4}+210 a^{2} b^{4} c^{4} d^{3}-42 a \,b^{5} c^{5} d^{2}+7 b^{6} c^{6} d \right ) x}{b^{7}}+\frac {7 d^{3} \left (a^{4} d^{4}-5 a^{3} b c \,d^{3}+10 a^{2} b^{2} c^{2} d^{2}-10 a \,b^{3} c^{3} d +5 b^{4} c^{4}\right ) x^{3}}{b^{5}}-\frac {7 d^{4} \left (a^{3} d^{3}-5 a^{2} b c \,d^{2}+10 a \,b^{2} c^{2} d -10 b^{3} c^{3}\right ) x^{4}}{4 b^{4}}+\frac {7 d^{5} \left (a^{2} d^{2}-5 a b c d +10 b^{2} c^{2}\right ) x^{5}}{10 b^{3}}-\frac {7 d^{6} \left (a d -5 b c \right ) x^{6}}{20 b^{2}}}{\left (b x +a \right )^{2}}-\frac {21 d^{2} \left (a^{5} d^{5}-5 a^{4} b c \,d^{4}+10 a^{3} b^{2} c^{2} d^{3}-10 a^{2} b^{3} c^{3} d^{2}+5 a \,b^{4} c^{4} d -b^{5} c^{5}\right ) \ln \left (b x +a \right )}{b^{8}}\) | \(445\) |
default | \(\frac {d^{3} \left (\frac {1}{5} d^{4} x^{5} b^{4}-\frac {3}{4} a \,b^{3} d^{4} x^{4}+\frac {7}{4} b^{4} c \,d^{3} x^{4}+2 a^{2} b^{2} d^{4} x^{3}-7 a \,b^{3} c \,d^{3} x^{3}+7 b^{4} c^{2} d^{2} x^{3}-5 a^{3} b \,d^{4} x^{2}+21 a^{2} b^{2} c \,d^{3} x^{2}-\frac {63}{2} a \,b^{3} c^{2} d^{2} x^{2}+\frac {35}{2} b^{4} c^{3} d \,x^{2}+15 a^{4} d^{4} x -70 a^{3} b c \,d^{3} x +126 a^{2} b^{2} c^{2} d^{2} x -105 a \,b^{3} c^{3} d x +35 b^{4} c^{4} x \right )}{b^{7}}-\frac {21 d^{2} \left (a^{5} d^{5}-5 a^{4} b c \,d^{4}+10 a^{3} b^{2} c^{2} d^{3}-10 a^{2} b^{3} c^{3} d^{2}+5 a \,b^{4} c^{4} d -b^{5} c^{5}\right ) \ln \left (b x +a \right )}{b^{8}}-\frac {-a^{7} d^{7}+7 a^{6} b c \,d^{6}-21 a^{5} b^{2} c^{2} d^{5}+35 a^{4} b^{3} c^{3} d^{4}-35 a^{3} b^{4} c^{4} d^{3}+21 a^{2} b^{5} c^{5} d^{2}-7 a \,b^{6} c^{6} d +b^{7} c^{7}}{2 b^{8} \left (b x +a \right )^{2}}-\frac {7 d \left (a^{6} d^{6}-6 a^{5} b c \,d^{5}+15 a^{4} b^{2} c^{2} d^{4}-20 a^{3} b^{3} c^{3} d^{3}+15 a^{2} b^{4} c^{4} d^{2}-6 a \,b^{5} c^{5} d +b^{6} c^{6}\right )}{b^{8} \left (b x +a \right )}\) | \(467\) |
risch | \(\frac {d^{7} x^{5}}{5 b^{3}}-\frac {3 d^{7} a \,x^{4}}{4 b^{4}}+\frac {7 d^{6} c \,x^{4}}{4 b^{3}}+\frac {2 d^{7} a^{2} x^{3}}{b^{5}}-\frac {7 d^{6} a c \,x^{3}}{b^{4}}+\frac {7 d^{5} c^{2} x^{3}}{b^{3}}-\frac {5 d^{7} a^{3} x^{2}}{b^{6}}+\frac {21 d^{6} a^{2} c \,x^{2}}{b^{5}}-\frac {63 d^{5} a \,c^{2} x^{2}}{2 b^{4}}+\frac {35 d^{4} c^{3} x^{2}}{2 b^{3}}+\frac {15 d^{7} a^{4} x}{b^{7}}-\frac {70 d^{6} a^{3} c x}{b^{6}}+\frac {126 d^{5} a^{2} c^{2} x}{b^{5}}-\frac {105 d^{4} a \,c^{3} x}{b^{4}}+\frac {35 d^{3} c^{4} x}{b^{3}}+\frac {\left (-7 a^{6} d^{7}+42 a^{5} b c \,d^{6}-105 a^{4} b^{2} c^{2} d^{5}+140 a^{3} b^{3} c^{3} d^{4}-105 a^{2} b^{4} c^{4} d^{3}+42 a \,b^{5} c^{5} d^{2}-7 b^{6} c^{6} d \right ) x -\frac {13 a^{7} d^{7}-77 a^{6} b c \,d^{6}+189 a^{5} b^{2} c^{2} d^{5}-245 a^{4} b^{3} c^{3} d^{4}+175 a^{3} b^{4} c^{4} d^{3}-63 a^{2} b^{5} c^{5} d^{2}+7 a \,b^{6} c^{6} d +b^{7} c^{7}}{2 b}}{b^{7} \left (b x +a \right )^{2}}-\frac {21 d^{7} \ln \left (b x +a \right ) a^{5}}{b^{8}}+\frac {105 d^{6} \ln \left (b x +a \right ) a^{4} c}{b^{7}}-\frac {210 d^{5} \ln \left (b x +a \right ) a^{3} c^{2}}{b^{6}}+\frac {210 d^{4} \ln \left (b x +a \right ) a^{2} c^{3}}{b^{5}}-\frac {105 d^{3} \ln \left (b x +a \right ) a \,c^{4}}{b^{4}}+\frac {21 d^{2} \ln \left (b x +a \right ) c^{5}}{b^{3}}\) | \(504\) |
parallelrisch | \(-\frac {840 \ln \left (b x +a \right ) x \,a^{6} b \,d^{7}+70 a \,b^{6} c^{6} d -630 a^{2} b^{5} c^{5} d^{2}-6300 a^{4} b^{3} c^{3} d^{4}+3150 a^{3} b^{4} c^{4} d^{3}-3150 a^{6} b c \,d^{6}+6300 a^{5} b^{2} c^{2} d^{5}+2100 \ln \left (b x +a \right ) x^{2} a \,b^{6} c^{4} d^{3}-2100 \ln \left (b x +a \right ) x^{2} a^{4} b^{3} c \,d^{6}+4200 \ln \left (b x +a \right ) x^{2} a^{3} b^{4} c^{2} d^{5}+8400 \ln \left (b x +a \right ) x \,a^{4} b^{3} c^{2} d^{5}-4200 \ln \left (b x +a \right ) x^{2} a^{2} b^{5} c^{3} d^{4}-8400 \ln \left (b x +a \right ) x \,a^{3} b^{4} c^{3} d^{4}+4200 \ln \left (b x +a \right ) x \,a^{2} b^{5} c^{4} d^{3}-840 \ln \left (b x +a \right ) x a \,b^{6} c^{5} d^{2}-4200 \ln \left (b x +a \right ) x \,a^{5} b^{2} c \,d^{6}+10 b^{7} c^{7}+630 a^{7} d^{7}+420 \ln \left (b x +a \right ) x^{2} a^{5} b^{2} d^{7}-420 \ln \left (b x +a \right ) x^{2} b^{7} c^{5} d^{2}-420 \ln \left (b x +a \right ) a^{2} b^{5} c^{5} d^{2}+700 x^{3} a^{3} b^{4} c \,d^{6}-1400 x^{3} a^{2} b^{5} c^{2} d^{5}+1400 x^{3} a \,b^{6} c^{3} d^{4}-175 x^{4} a^{2} b^{5} c \,d^{6}+2100 \ln \left (b x +a \right ) a^{3} b^{4} c^{4} d^{3}-2100 \ln \left (b x +a \right ) a^{6} b c \,d^{6}+4200 \ln \left (b x +a \right ) a^{5} b^{2} c^{2} d^{5}-4200 \ln \left (b x +a \right ) a^{4} b^{3} c^{3} d^{4}+350 x^{4} a \,b^{6} c^{2} d^{5}+70 x^{5} a \,b^{6} c \,d^{6}-4200 x \,a^{5} b^{2} c \,d^{6}+8400 x \,a^{4} b^{3} c^{2} d^{5}-8400 x \,a^{3} b^{4} c^{3} d^{4}+4200 x \,a^{2} b^{5} c^{4} d^{3}-840 x a \,b^{6} c^{5} d^{2}+420 \ln \left (b x +a \right ) a^{7} d^{7}-4 x^{7} d^{7} b^{7}-14 x^{5} a^{2} b^{5} d^{7}-140 x^{5} b^{7} c^{2} d^{5}+7 x^{6} a \,b^{6} d^{7}+840 x \,a^{6} b \,d^{7}+140 x \,b^{7} c^{6} d -140 x^{3} a^{4} b^{3} d^{7}-700 x^{3} b^{7} c^{4} d^{3}+35 x^{4} a^{3} b^{4} d^{7}-350 x^{4} b^{7} c^{3} d^{4}-35 x^{6} b^{7} c \,d^{6}}{20 b^{8} \left (b x +a \right )^{2}}\) | \(761\) |
(-1/2*(63*a^7*d^7-315*a^6*b*c*d^6+630*a^5*b^2*c^2*d^5-630*a^4*b^3*c^3*d^4+ 315*a^3*b^4*c^4*d^3-63*a^2*b^5*c^5*d^2+7*a*b^6*c^6*d+b^7*c^7)/b^8+1/5/b*d^ 7*x^7-(42*a^6*d^7-210*a^5*b*c*d^6+420*a^4*b^2*c^2*d^5-420*a^3*b^3*c^3*d^4+ 210*a^2*b^4*c^4*d^3-42*a*b^5*c^5*d^2+7*b^6*c^6*d)/b^7*x+7*d^3*(a^4*d^4-5*a ^3*b*c*d^3+10*a^2*b^2*c^2*d^2-10*a*b^3*c^3*d+5*b^4*c^4)/b^5*x^3-7/4*d^4*(a ^3*d^3-5*a^2*b*c*d^2+10*a*b^2*c^2*d-10*b^3*c^3)/b^4*x^4+7/10*d^5*(a^2*d^2- 5*a*b*c*d+10*b^2*c^2)/b^3*x^5-7/20*d^6*(a*d-5*b*c)/b^2*x^6)/(b*x+a)^2-21/b ^8*d^2*(a^5*d^5-5*a^4*b*c*d^4+10*a^3*b^2*c^2*d^3-10*a^2*b^3*c^3*d^2+5*a*b^ 4*c^4*d-b^5*c^5)*ln(b*x+a)
Leaf count of result is larger than twice the leaf count of optimal. 703 vs. \(2 (177) = 354\).
Time = 0.22 (sec) , antiderivative size = 703, normalized size of antiderivative = 3.80 \[ \int \frac {(c+d x)^7}{(a+b x)^3} \, dx=\frac {4 \, b^{7} d^{7} x^{7} - 10 \, b^{7} c^{7} - 70 \, a b^{6} c^{6} d + 630 \, a^{2} b^{5} c^{5} d^{2} - 1750 \, a^{3} b^{4} c^{4} d^{3} + 2450 \, a^{4} b^{3} c^{3} d^{4} - 1890 \, a^{5} b^{2} c^{2} d^{5} + 770 \, a^{6} b c d^{6} - 130 \, a^{7} d^{7} + 7 \, {\left (5 \, b^{7} c d^{6} - a b^{6} d^{7}\right )} x^{6} + 14 \, {\left (10 \, b^{7} c^{2} d^{5} - 5 \, a b^{6} c d^{6} + a^{2} b^{5} d^{7}\right )} x^{5} + 35 \, {\left (10 \, b^{7} c^{3} d^{4} - 10 \, a b^{6} c^{2} d^{5} + 5 \, a^{2} b^{5} c d^{6} - a^{3} b^{4} d^{7}\right )} x^{4} + 140 \, {\left (5 \, b^{7} c^{4} d^{3} - 10 \, a b^{6} c^{3} d^{4} + 10 \, a^{2} b^{5} c^{2} d^{5} - 5 \, a^{3} b^{4} c d^{6} + a^{4} b^{3} d^{7}\right )} x^{3} + 10 \, {\left (140 \, a b^{6} c^{4} d^{3} - 385 \, a^{2} b^{5} c^{3} d^{4} + 441 \, a^{3} b^{4} c^{2} d^{5} - 238 \, a^{4} b^{3} c d^{6} + 50 \, a^{5} b^{2} d^{7}\right )} x^{2} - 20 \, {\left (7 \, b^{7} c^{6} d - 42 \, a b^{6} c^{5} d^{2} + 70 \, a^{2} b^{5} c^{4} d^{3} - 35 \, a^{3} b^{4} c^{3} d^{4} - 21 \, a^{4} b^{3} c^{2} d^{5} + 28 \, a^{5} b^{2} c d^{6} - 8 \, a^{6} b d^{7}\right )} x + 420 \, {\left (a^{2} b^{5} c^{5} d^{2} - 5 \, a^{3} b^{4} c^{4} d^{3} + 10 \, a^{4} b^{3} c^{3} d^{4} - 10 \, a^{5} b^{2} c^{2} d^{5} + 5 \, a^{6} b c d^{6} - a^{7} d^{7} + {\left (b^{7} c^{5} d^{2} - 5 \, a b^{6} c^{4} d^{3} + 10 \, a^{2} b^{5} c^{3} d^{4} - 10 \, a^{3} b^{4} c^{2} d^{5} + 5 \, a^{4} b^{3} c d^{6} - a^{5} b^{2} d^{7}\right )} x^{2} + 2 \, {\left (a b^{6} c^{5} d^{2} - 5 \, a^{2} b^{5} c^{4} d^{3} + 10 \, a^{3} b^{4} c^{3} d^{4} - 10 \, a^{4} b^{3} c^{2} d^{5} + 5 \, a^{5} b^{2} c d^{6} - a^{6} b d^{7}\right )} x\right )} \log \left (b x + a\right )}{20 \, {\left (b^{10} x^{2} + 2 \, a b^{9} x + a^{2} b^{8}\right )}} \]
1/20*(4*b^7*d^7*x^7 - 10*b^7*c^7 - 70*a*b^6*c^6*d + 630*a^2*b^5*c^5*d^2 - 1750*a^3*b^4*c^4*d^3 + 2450*a^4*b^3*c^3*d^4 - 1890*a^5*b^2*c^2*d^5 + 770*a ^6*b*c*d^6 - 130*a^7*d^7 + 7*(5*b^7*c*d^6 - a*b^6*d^7)*x^6 + 14*(10*b^7*c^ 2*d^5 - 5*a*b^6*c*d^6 + a^2*b^5*d^7)*x^5 + 35*(10*b^7*c^3*d^4 - 10*a*b^6*c ^2*d^5 + 5*a^2*b^5*c*d^6 - a^3*b^4*d^7)*x^4 + 140*(5*b^7*c^4*d^3 - 10*a*b^ 6*c^3*d^4 + 10*a^2*b^5*c^2*d^5 - 5*a^3*b^4*c*d^6 + a^4*b^3*d^7)*x^3 + 10*( 140*a*b^6*c^4*d^3 - 385*a^2*b^5*c^3*d^4 + 441*a^3*b^4*c^2*d^5 - 238*a^4*b^ 3*c*d^6 + 50*a^5*b^2*d^7)*x^2 - 20*(7*b^7*c^6*d - 42*a*b^6*c^5*d^2 + 70*a^ 2*b^5*c^4*d^3 - 35*a^3*b^4*c^3*d^4 - 21*a^4*b^3*c^2*d^5 + 28*a^5*b^2*c*d^6 - 8*a^6*b*d^7)*x + 420*(a^2*b^5*c^5*d^2 - 5*a^3*b^4*c^4*d^3 + 10*a^4*b^3* c^3*d^4 - 10*a^5*b^2*c^2*d^5 + 5*a^6*b*c*d^6 - a^7*d^7 + (b^7*c^5*d^2 - 5* a*b^6*c^4*d^3 + 10*a^2*b^5*c^3*d^4 - 10*a^3*b^4*c^2*d^5 + 5*a^4*b^3*c*d^6 - a^5*b^2*d^7)*x^2 + 2*(a*b^6*c^5*d^2 - 5*a^2*b^5*c^4*d^3 + 10*a^3*b^4*c^3 *d^4 - 10*a^4*b^3*c^2*d^5 + 5*a^5*b^2*c*d^6 - a^6*b*d^7)*x)*log(b*x + a))/ (b^10*x^2 + 2*a*b^9*x + a^2*b^8)
Leaf count of result is larger than twice the leaf count of optimal. 447 vs. \(2 (170) = 340\).
Time = 1.75 (sec) , antiderivative size = 447, normalized size of antiderivative = 2.42 \[ \int \frac {(c+d x)^7}{(a+b x)^3} \, dx=x^{4} \left (- \frac {3 a d^{7}}{4 b^{4}} + \frac {7 c d^{6}}{4 b^{3}}\right ) + x^{3} \cdot \left (\frac {2 a^{2} d^{7}}{b^{5}} - \frac {7 a c d^{6}}{b^{4}} + \frac {7 c^{2} d^{5}}{b^{3}}\right ) + x^{2} \left (- \frac {5 a^{3} d^{7}}{b^{6}} + \frac {21 a^{2} c d^{6}}{b^{5}} - \frac {63 a c^{2} d^{5}}{2 b^{4}} + \frac {35 c^{3} d^{4}}{2 b^{3}}\right ) + x \left (\frac {15 a^{4} d^{7}}{b^{7}} - \frac {70 a^{3} c d^{6}}{b^{6}} + \frac {126 a^{2} c^{2} d^{5}}{b^{5}} - \frac {105 a c^{3} d^{4}}{b^{4}} + \frac {35 c^{4} d^{3}}{b^{3}}\right ) + \frac {- 13 a^{7} d^{7} + 77 a^{6} b c d^{6} - 189 a^{5} b^{2} c^{2} d^{5} + 245 a^{4} b^{3} c^{3} d^{4} - 175 a^{3} b^{4} c^{4} d^{3} + 63 a^{2} b^{5} c^{5} d^{2} - 7 a b^{6} c^{6} d - b^{7} c^{7} + x \left (- 14 a^{6} b d^{7} + 84 a^{5} b^{2} c d^{6} - 210 a^{4} b^{3} c^{2} d^{5} + 280 a^{3} b^{4} c^{3} d^{4} - 210 a^{2} b^{5} c^{4} d^{3} + 84 a b^{6} c^{5} d^{2} - 14 b^{7} c^{6} d\right )}{2 a^{2} b^{8} + 4 a b^{9} x + 2 b^{10} x^{2}} + \frac {d^{7} x^{5}}{5 b^{3}} - \frac {21 d^{2} \left (a d - b c\right )^{5} \log {\left (a + b x \right )}}{b^{8}} \]
x**4*(-3*a*d**7/(4*b**4) + 7*c*d**6/(4*b**3)) + x**3*(2*a**2*d**7/b**5 - 7 *a*c*d**6/b**4 + 7*c**2*d**5/b**3) + x**2*(-5*a**3*d**7/b**6 + 21*a**2*c*d **6/b**5 - 63*a*c**2*d**5/(2*b**4) + 35*c**3*d**4/(2*b**3)) + x*(15*a**4*d **7/b**7 - 70*a**3*c*d**6/b**6 + 126*a**2*c**2*d**5/b**5 - 105*a*c**3*d**4 /b**4 + 35*c**4*d**3/b**3) + (-13*a**7*d**7 + 77*a**6*b*c*d**6 - 189*a**5* b**2*c**2*d**5 + 245*a**4*b**3*c**3*d**4 - 175*a**3*b**4*c**4*d**3 + 63*a* *2*b**5*c**5*d**2 - 7*a*b**6*c**6*d - b**7*c**7 + x*(-14*a**6*b*d**7 + 84* a**5*b**2*c*d**6 - 210*a**4*b**3*c**2*d**5 + 280*a**3*b**4*c**3*d**4 - 210 *a**2*b**5*c**4*d**3 + 84*a*b**6*c**5*d**2 - 14*b**7*c**6*d))/(2*a**2*b**8 + 4*a*b**9*x + 2*b**10*x**2) + d**7*x**5/(5*b**3) - 21*d**2*(a*d - b*c)** 5*log(a + b*x)/b**8
Leaf count of result is larger than twice the leaf count of optimal. 473 vs. \(2 (177) = 354\).
Time = 0.21 (sec) , antiderivative size = 473, normalized size of antiderivative = 2.56 \[ \int \frac {(c+d x)^7}{(a+b x)^3} \, dx=-\frac {b^{7} c^{7} + 7 \, a b^{6} c^{6} d - 63 \, a^{2} b^{5} c^{5} d^{2} + 175 \, a^{3} b^{4} c^{4} d^{3} - 245 \, a^{4} b^{3} c^{3} d^{4} + 189 \, a^{5} b^{2} c^{2} d^{5} - 77 \, a^{6} b c d^{6} + 13 \, a^{7} d^{7} + 14 \, {\left (b^{7} c^{6} d - 6 \, a b^{6} c^{5} d^{2} + 15 \, a^{2} b^{5} c^{4} d^{3} - 20 \, a^{3} b^{4} c^{3} d^{4} + 15 \, a^{4} b^{3} c^{2} d^{5} - 6 \, a^{5} b^{2} c d^{6} + a^{6} b d^{7}\right )} x}{2 \, {\left (b^{10} x^{2} + 2 \, a b^{9} x + a^{2} b^{8}\right )}} + \frac {4 \, b^{4} d^{7} x^{5} + 5 \, {\left (7 \, b^{4} c d^{6} - 3 \, a b^{3} d^{7}\right )} x^{4} + 20 \, {\left (7 \, b^{4} c^{2} d^{5} - 7 \, a b^{3} c d^{6} + 2 \, a^{2} b^{2} d^{7}\right )} x^{3} + 10 \, {\left (35 \, b^{4} c^{3} d^{4} - 63 \, a b^{3} c^{2} d^{5} + 42 \, a^{2} b^{2} c d^{6} - 10 \, a^{3} b d^{7}\right )} x^{2} + 20 \, {\left (35 \, b^{4} c^{4} d^{3} - 105 \, a b^{3} c^{3} d^{4} + 126 \, a^{2} b^{2} c^{2} d^{5} - 70 \, a^{3} b c d^{6} + 15 \, a^{4} d^{7}\right )} x}{20 \, b^{7}} + \frac {21 \, {\left (b^{5} c^{5} d^{2} - 5 \, a b^{4} c^{4} d^{3} + 10 \, a^{2} b^{3} c^{3} d^{4} - 10 \, a^{3} b^{2} c^{2} d^{5} + 5 \, a^{4} b c d^{6} - a^{5} d^{7}\right )} \log \left (b x + a\right )}{b^{8}} \]
-1/2*(b^7*c^7 + 7*a*b^6*c^6*d - 63*a^2*b^5*c^5*d^2 + 175*a^3*b^4*c^4*d^3 - 245*a^4*b^3*c^3*d^4 + 189*a^5*b^2*c^2*d^5 - 77*a^6*b*c*d^6 + 13*a^7*d^7 + 14*(b^7*c^6*d - 6*a*b^6*c^5*d^2 + 15*a^2*b^5*c^4*d^3 - 20*a^3*b^4*c^3*d^4 + 15*a^4*b^3*c^2*d^5 - 6*a^5*b^2*c*d^6 + a^6*b*d^7)*x)/(b^10*x^2 + 2*a*b^ 9*x + a^2*b^8) + 1/20*(4*b^4*d^7*x^5 + 5*(7*b^4*c*d^6 - 3*a*b^3*d^7)*x^4 + 20*(7*b^4*c^2*d^5 - 7*a*b^3*c*d^6 + 2*a^2*b^2*d^7)*x^3 + 10*(35*b^4*c^3*d ^4 - 63*a*b^3*c^2*d^5 + 42*a^2*b^2*c*d^6 - 10*a^3*b*d^7)*x^2 + 20*(35*b^4* c^4*d^3 - 105*a*b^3*c^3*d^4 + 126*a^2*b^2*c^2*d^5 - 70*a^3*b*c*d^6 + 15*a^ 4*d^7)*x)/b^7 + 21*(b^5*c^5*d^2 - 5*a*b^4*c^4*d^3 + 10*a^2*b^3*c^3*d^4 - 1 0*a^3*b^2*c^2*d^5 + 5*a^4*b*c*d^6 - a^5*d^7)*log(b*x + a)/b^8
Leaf count of result is larger than twice the leaf count of optimal. 477 vs. \(2 (177) = 354\).
Time = 0.29 (sec) , antiderivative size = 477, normalized size of antiderivative = 2.58 \[ \int \frac {(c+d x)^7}{(a+b x)^3} \, dx=\frac {21 \, {\left (b^{5} c^{5} d^{2} - 5 \, a b^{4} c^{4} d^{3} + 10 \, a^{2} b^{3} c^{3} d^{4} - 10 \, a^{3} b^{2} c^{2} d^{5} + 5 \, a^{4} b c d^{6} - a^{5} d^{7}\right )} \log \left ({\left | b x + a \right |}\right )}{b^{8}} - \frac {b^{7} c^{7} + 7 \, a b^{6} c^{6} d - 63 \, a^{2} b^{5} c^{5} d^{2} + 175 \, a^{3} b^{4} c^{4} d^{3} - 245 \, a^{4} b^{3} c^{3} d^{4} + 189 \, a^{5} b^{2} c^{2} d^{5} - 77 \, a^{6} b c d^{6} + 13 \, a^{7} d^{7} + 14 \, {\left (b^{7} c^{6} d - 6 \, a b^{6} c^{5} d^{2} + 15 \, a^{2} b^{5} c^{4} d^{3} - 20 \, a^{3} b^{4} c^{3} d^{4} + 15 \, a^{4} b^{3} c^{2} d^{5} - 6 \, a^{5} b^{2} c d^{6} + a^{6} b d^{7}\right )} x}{2 \, {\left (b x + a\right )}^{2} b^{8}} + \frac {4 \, b^{12} d^{7} x^{5} + 35 \, b^{12} c d^{6} x^{4} - 15 \, a b^{11} d^{7} x^{4} + 140 \, b^{12} c^{2} d^{5} x^{3} - 140 \, a b^{11} c d^{6} x^{3} + 40 \, a^{2} b^{10} d^{7} x^{3} + 350 \, b^{12} c^{3} d^{4} x^{2} - 630 \, a b^{11} c^{2} d^{5} x^{2} + 420 \, a^{2} b^{10} c d^{6} x^{2} - 100 \, a^{3} b^{9} d^{7} x^{2} + 700 \, b^{12} c^{4} d^{3} x - 2100 \, a b^{11} c^{3} d^{4} x + 2520 \, a^{2} b^{10} c^{2} d^{5} x - 1400 \, a^{3} b^{9} c d^{6} x + 300 \, a^{4} b^{8} d^{7} x}{20 \, b^{15}} \]
21*(b^5*c^5*d^2 - 5*a*b^4*c^4*d^3 + 10*a^2*b^3*c^3*d^4 - 10*a^3*b^2*c^2*d^ 5 + 5*a^4*b*c*d^6 - a^5*d^7)*log(abs(b*x + a))/b^8 - 1/2*(b^7*c^7 + 7*a*b^ 6*c^6*d - 63*a^2*b^5*c^5*d^2 + 175*a^3*b^4*c^4*d^3 - 245*a^4*b^3*c^3*d^4 + 189*a^5*b^2*c^2*d^5 - 77*a^6*b*c*d^6 + 13*a^7*d^7 + 14*(b^7*c^6*d - 6*a*b ^6*c^5*d^2 + 15*a^2*b^5*c^4*d^3 - 20*a^3*b^4*c^3*d^4 + 15*a^4*b^3*c^2*d^5 - 6*a^5*b^2*c*d^6 + a^6*b*d^7)*x)/((b*x + a)^2*b^8) + 1/20*(4*b^12*d^7*x^5 + 35*b^12*c*d^6*x^4 - 15*a*b^11*d^7*x^4 + 140*b^12*c^2*d^5*x^3 - 140*a*b^ 11*c*d^6*x^3 + 40*a^2*b^10*d^7*x^3 + 350*b^12*c^3*d^4*x^2 - 630*a*b^11*c^2 *d^5*x^2 + 420*a^2*b^10*c*d^6*x^2 - 100*a^3*b^9*d^7*x^2 + 700*b^12*c^4*d^3 *x - 2100*a*b^11*c^3*d^4*x + 2520*a^2*b^10*c^2*d^5*x - 1400*a^3*b^9*c*d^6* x + 300*a^4*b^8*d^7*x)/b^15
Time = 0.44 (sec) , antiderivative size = 690, normalized size of antiderivative = 3.73 \[ \int \frac {(c+d x)^7}{(a+b x)^3} \, dx=x\,\left (\frac {3\,a\,\left (\frac {3\,a\,\left (\frac {3\,a\,\left (\frac {3\,a\,d^7}{b^4}-\frac {7\,c\,d^6}{b^3}\right )}{b}-\frac {3\,a^2\,d^7}{b^5}+\frac {21\,c^2\,d^5}{b^3}\right )}{b}+\frac {a^3\,d^7}{b^6}-\frac {35\,c^3\,d^4}{b^3}-\frac {3\,a^2\,\left (\frac {3\,a\,d^7}{b^4}-\frac {7\,c\,d^6}{b^3}\right )}{b^2}\right )}{b}+\frac {35\,c^4\,d^3}{b^3}+\frac {a^3\,\left (\frac {3\,a\,d^7}{b^4}-\frac {7\,c\,d^6}{b^3}\right )}{b^3}-\frac {3\,a^2\,\left (\frac {3\,a\,\left (\frac {3\,a\,d^7}{b^4}-\frac {7\,c\,d^6}{b^3}\right )}{b}-\frac {3\,a^2\,d^7}{b^5}+\frac {21\,c^2\,d^5}{b^3}\right )}{b^2}\right )-x^4\,\left (\frac {3\,a\,d^7}{4\,b^4}-\frac {7\,c\,d^6}{4\,b^3}\right )-x^2\,\left (\frac {3\,a\,\left (\frac {3\,a\,\left (\frac {3\,a\,d^7}{b^4}-\frac {7\,c\,d^6}{b^3}\right )}{b}-\frac {3\,a^2\,d^7}{b^5}+\frac {21\,c^2\,d^5}{b^3}\right )}{2\,b}+\frac {a^3\,d^7}{2\,b^6}-\frac {35\,c^3\,d^4}{2\,b^3}-\frac {3\,a^2\,\left (\frac {3\,a\,d^7}{b^4}-\frac {7\,c\,d^6}{b^3}\right )}{2\,b^2}\right )+x^3\,\left (\frac {a\,\left (\frac {3\,a\,d^7}{b^4}-\frac {7\,c\,d^6}{b^3}\right )}{b}-\frac {a^2\,d^7}{b^5}+\frac {7\,c^2\,d^5}{b^3}\right )-\frac {\frac {13\,a^7\,d^7-77\,a^6\,b\,c\,d^6+189\,a^5\,b^2\,c^2\,d^5-245\,a^4\,b^3\,c^3\,d^4+175\,a^3\,b^4\,c^4\,d^3-63\,a^2\,b^5\,c^5\,d^2+7\,a\,b^6\,c^6\,d+b^7\,c^7}{2\,b}+x\,\left (7\,a^6\,d^7-42\,a^5\,b\,c\,d^6+105\,a^4\,b^2\,c^2\,d^5-140\,a^3\,b^3\,c^3\,d^4+105\,a^2\,b^4\,c^4\,d^3-42\,a\,b^5\,c^5\,d^2+7\,b^6\,c^6\,d\right )}{a^2\,b^7+2\,a\,b^8\,x+b^9\,x^2}+\frac {d^7\,x^5}{5\,b^3}-\frac {\ln \left (a+b\,x\right )\,\left (21\,a^5\,d^7-105\,a^4\,b\,c\,d^6+210\,a^3\,b^2\,c^2\,d^5-210\,a^2\,b^3\,c^3\,d^4+105\,a\,b^4\,c^4\,d^3-21\,b^5\,c^5\,d^2\right )}{b^8} \]
x*((3*a*((3*a*((3*a*((3*a*d^7)/b^4 - (7*c*d^6)/b^3))/b - (3*a^2*d^7)/b^5 + (21*c^2*d^5)/b^3))/b + (a^3*d^7)/b^6 - (35*c^3*d^4)/b^3 - (3*a^2*((3*a*d^ 7)/b^4 - (7*c*d^6)/b^3))/b^2))/b + (35*c^4*d^3)/b^3 + (a^3*((3*a*d^7)/b^4 - (7*c*d^6)/b^3))/b^3 - (3*a^2*((3*a*((3*a*d^7)/b^4 - (7*c*d^6)/b^3))/b - (3*a^2*d^7)/b^5 + (21*c^2*d^5)/b^3))/b^2) - x^4*((3*a*d^7)/(4*b^4) - (7*c* d^6)/(4*b^3)) - x^2*((3*a*((3*a*((3*a*d^7)/b^4 - (7*c*d^6)/b^3))/b - (3*a^ 2*d^7)/b^5 + (21*c^2*d^5)/b^3))/(2*b) + (a^3*d^7)/(2*b^6) - (35*c^3*d^4)/( 2*b^3) - (3*a^2*((3*a*d^7)/b^4 - (7*c*d^6)/b^3))/(2*b^2)) + x^3*((a*((3*a* d^7)/b^4 - (7*c*d^6)/b^3))/b - (a^2*d^7)/b^5 + (7*c^2*d^5)/b^3) - ((13*a^7 *d^7 + b^7*c^7 - 63*a^2*b^5*c^5*d^2 + 175*a^3*b^4*c^4*d^3 - 245*a^4*b^3*c^ 3*d^4 + 189*a^5*b^2*c^2*d^5 + 7*a*b^6*c^6*d - 77*a^6*b*c*d^6)/(2*b) + x*(7 *a^6*d^7 + 7*b^6*c^6*d - 42*a*b^5*c^5*d^2 + 105*a^2*b^4*c^4*d^3 - 140*a^3* b^3*c^3*d^4 + 105*a^4*b^2*c^2*d^5 - 42*a^5*b*c*d^6))/(a^2*b^7 + b^9*x^2 + 2*a*b^8*x) + (d^7*x^5)/(5*b^3) - (log(a + b*x)*(21*a^5*d^7 - 21*b^5*c^5*d^ 2 + 105*a*b^4*c^4*d^3 - 210*a^2*b^3*c^3*d^4 + 210*a^3*b^2*c^2*d^5 - 105*a^ 4*b*c*d^6))/b^8